package shellstation;

import java.awt.Color;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import java.awt.event.*;

public class editReceiptForm  {

    private JPanel panel;

    public void editReceiptForm(){
    }
    
    public void editReceiptFormPanel(){

        ReceiptView r = new ReceiptView();
        r.ReceiptView();

        panel.add(r.getreceiptNumberH());
        panel.add(r.getreceiptNumberT());
        panel.add(r.getlistOfProductsH());
        panel.add(r.getscrollpane());
        panel.add(r.getline2());
        panel.add(r.getproductQuantity());
        panel.add(r.getSize());
        panel.add(r.getproductSize());
        panel.add(r.getQuantity());
        panel.add(r.getproductQuantity());
        panel.add(r.getaddProductButton());
        panel.add(r.getSubmitButton());
        panel.add(r.getremoveProductButton());
        panel.add(r.getscrollpane2());
        panel.add(r.getSearchButton());
    }

    public void setPanel(JPanel panel2){
        panel = panel2;
    }

   
}
